{include file=$HEADER}            
    <div class="crumb_navigation">
    Navigation: <span class="current">Home</span>       
    </div>        
    
    
   <div class="left_content">
    <div class="title_box" {if $lang eq "sin"} {"style='font-size: 17px;'"} {/if}>{$objTranslate->translate("Category", "homepage", {$lang})}</div>    
        <ul class="left_menu">
        {section name=sec1 loop=$category}
        <li class="even"><a href="javascript: void(0);" onclick="loadPage('catproducts', '{$category[sec1].cat_id}')">{$category[sec1].cat_desc} ({$category[sec1].ITEMCOUNT})</a></li>
        <!--<li class="even"><a href="services.html">Motherboards</a></li>-->
        {/section}
        </ul>
     
     <!--<div class="title_box" {if $lang eq "sin"} {"style='font-size: 17px;'"} {/if}>{$objTranslate->translate("New Arrivals", "homepage", {$lang})}</div>  
     <div class="border_box">
     {section name=newitem loop=$new_item}
         <div class="product_title"><a href="javascript: void(0);" onclick="loadPage('productdetails', '{$new_item[newitem].item_code}')">{$new_item[newitem].product_title}</a></div>
         <div class="product_img"><a href="javascript: void(0);" onclick="loadPage('productdetails', '{$new_item[newitem].item_code}')"><img src="images/products/thumbs/{$new_item[newitem].filename}" alt="" title="" border="0" /></a></div>
         <div class="prod_price"><span class="price">US $ {number_format($new_item[newitem].product_price_lkr / $new_item[newitem].rate, $DECIMAL_USD, '.', ',')}</span></div>
         {/section}    
     </div>--> 
     
     <!--<div class="title_box">Newsletter</div>  
     <div class="border_box">
		<input type="text" name="newsletter" class="newsletter_input" value="your email"/>
        <a href="#" class="join">join</a>
     </div> --> 
     
     <div class="banner_adds">
     
     <!--<a href="#"><img src="images/bann2.jpg" alt="" title="" border="0" /></a>-->
     </div>    
        
    
   </div><!-- end of left content -->
   
   
	<div class="center_content">
		<div id="container">
		{include file=$tpl}
		</div>
	
   	</div><!-- end of center content -->
   
   <div class="right_content">
   {if $SESS_USERID}
   		<div class="shopping_cart">
        	<div class="cart_title">Shopping cart</div>
            
            <div class="cart_details">&nbsp;</div>
            
            <div class="cart_icon"><a href="#" title="header=[Checkout] body=[&nbsp;] fade=[on]"><img src="images/shoppingcart.png" alt="" title="" width="48" height="48" border="0" /></a></div>
        
        </div>
   {/if}
	<!--<div class="title_box">Login</div>  
    <div class="border_box" style="padding: 5px 0 0 0;">
         {*$objLogin->login()*}
    </div>-->
	
	<div class="title_box" {if $lang eq "sin"} {"style='font-size: 17px;'"} {/if}>{$objTranslate->translate("New Arrivals", "homepage", {$lang})}</div>  
     <div class="border_box">
     {section name=newitem loop=$new_item}
         <div class="product_title"><a href="javascript: void(0);" onclick="loadPage('productdetails', '{$new_item[newitem].item_code}')">{substr($new_item[newitem].product_title, 0, 20)}</a></div>
         <div class="product_img"><a href="javascript: void(0);" onclick="loadPage('productdetails', '{$new_item[newitem].item_code}')"><img src="images/products/thumbs/{$new_item[newitem].filename}" alt="" title="" border="0" /></a></div>
         <div class="prod_price"><span class="price">US $ {number_format($new_item[newitem].product_price_lkr / $new_item[newitem].rate, $DECIMAL_USD, '.', ',')}</span></div>
         {/section}    
     </div>
    
    <div class="title_box" {if $lang eq "sin"} {"style='font-size: 17px;'"} {/if}>{$objTranslate->translate("News", "homepage", {$lang})}</div>
    	
    	{$objNews->news()}             
     
     <div class="banner_adds">
     
     <!--<a href="#"><img src="images/bann1.jpg" alt="" title="" border="0" /></a>-->
     <img src="images/laksala_video.png" alt="" title="" border="0" />
     </div>        
     
   </div><!-- end of right content -->   
   
            
   </div><!-- end of main content -->
   
   
   
   {include file=$FOOTER}             


</div>
<!-- end of main_container -->
</body>
</html>